<?php
include "common.php";
$sql = "update stu set sname='陈祥',birthday='1977-2-23',sex=1 where sid = 9";
mysql_query($sql);
if(mysql_affected_rows()){
	echo "更新成功 ";
}else{
	echo "更新失败";
}
?>